/*
 * The I piece.
 */

package tetris.model;

import java.awt.Color;

public class PieceI extends Piece{
    public PieceI(){
        super(2, Color.CYAN);
        buildRotations();
    }

    private void buildRotations(){
        super.rotations[0] = new Rotation(new Coordinates(0, 2),    // X
                                          new Coordinates(0, 1),    // X
                                          new Coordinates(0, -1));  // O
                                                                    // X

        super.rotations[1] = new Rotation(new Coordinates(-1, 0),    //
                                          new Coordinates(1, 0),    // X O X X
                                          new Coordinates(2, 0));  //
    }
}
